import request from '@/utils/request.js'

//个登录请求
export function login(data) {
  return request({
    url: '/park/login', 
    method: 'post',
    data,
  }) 
}
//获取个人信息
export function getUserInfo() {
  return request({
    url: '/park/user/profile',
  })
}